package com.xsd.iterator;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description:
 * @Author: zhoufuzong
 * @Created: 2021-03-06 20:00:44
 * @Version: 1.1.0
 */

public class Client {
    public static void main(String[] args) {

        List<College> collegeList= new ArrayList<>();
        ComputerCollege computerCollege = new ComputerCollege();
        InfoCollege infoCollege = new InfoCollege();

        collegeList.add(computerCollege);
        collegeList.add(infoCollege);
        OutPutImpl outPutImpl = new OutPutImpl(collegeList);
        outPutImpl.printCollege();
    }
}
